package com.qumap.editview.gin;

import com.google.gwt.core.client.GWT;
import com.qumap.display.IMapViewDisplayCreator;
import com.qumap.common.edit.IDisplay;

/**
 * Created by IntelliJ IDEA.
 * User: sanya
 * Date: 6/29/11
 * Time: 10:00 PM
 * To change this template use File | Settings | File Templates.
 */
public class DisplayCreatorProxy implements IMapViewDisplayCreator {

    private IDisplay head_display;

    public DisplayCreatorProxy() {
        EditViewGIN ev_injector = GWT.create(EditViewGIN.class);
        head_display = ev_injector.buildHeadViewDisplay();
    }

    @Override
    public IDisplay getViewDisplay() {
        return head_display;
    }
}
